var controllersModule = angular.module('app.controllers');

/**
 * @ngInject
 */
function confirmationModal($scope, $uibModalInstance, title, content) {
    $scope.title = title;
    $scope.content = content;

    $scope.ok = function () {
        $uibModalInstance.close();
    };

    $scope.cancel = function () {
        $uibModalInstance.dismiss('cancel');
    };
}

controllersModule.controller('confirmationModal', confirmationModal);
